import axios from "./axios";

export default{
    query:(params:any)=>{
        return axios({
            method:'GET',
            url:"/userinfo",
            params
        })
    },
    add:(data:any)=>{
        return axios({
            method:"POST",
            url:"/userinfo",
            data
        })
    }
}